package com.apan.redispractice.service.impl;

import com.apan.redispractice.entity.User;
import com.apan.redispractice.mapper.UserMapper;
import com.apan.redispractice.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author author
 * @since 2025-06-24
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

     @Resource
     UserMapper userMapper;

    public User selectUserById(long id){

      return   userMapper.selectUserById(id);
    }



    
}
